#ifndef TENTACLE_H_
#define TENTACLE_H_

#include "Vector2D.h"
#include "TextureManager.h"

class Tentacle
{
	Vector2D textureVertices[4];
	int numPoints;
	Vector2D anchorPoint;
	Vector2D endPoint;
	Vector2D originalEndPoint;
	double time;
	TextureManager * textureManager;
	int textureIndex;
	
	float maxLength;
	
	public:
	Tentacle(TextureManager * textureManager, char * texture, Vector2D * textureVertices, int numPoints, Vector2D position, Vector2D endPoint);
	virtual ~Tentacle();
	void Think(double elapsedTime);
	void Draw();
};
#endif /*TENTACLE_H_*/
